package kayao.client.scene.objects;

import kayao.client.R;

import com.chopsticks3d.scene.Material;
import com.chopsticks3d.scene.Mesh;
import com.chopsticks3d.scene.MeshNode;
import com.chopsticks3d.scene.SceneNode;
import com.chopsticks3d.scene.Texture;
import com.chopsticks3d.scene.shape.Cube;

public class Flag extends SceneNode {
	
	public Flag() {
		Mesh flagMesh = new Cube();
		
		Material flagMaterial = new Material();
		flagMaterial.setAmbient(1, 1, 1, 1);
		
		Texture flagTexture = new Texture(R.drawable.woodbox);
		
		MeshNode flagNode = new MeshNode(flagMesh, flagTexture, flagMaterial);
		flagNode.setTranslationY(0.5f);
		
		addChild(flagNode);
	}
}
